<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		/*
		http://www.365mini.com/page/jquery_ajaxsetup.htm
		* */
		$(function() {
			var jqWay = function() {
				$.ajax({
					url: 'http://192.168.2.217:8080/demo/query',
					type: 'GET',
					dataType: 'text',
					headers: {
						"15997435050": "15997435050"
					},
					success: function(data) {
						alert(213)
						console.log(data);
						
					},
					error:function(data){
						console.log(data);
					}
					
				});
			}

			jqWay();
			return;
			$.get("http://192.168.2.217:8080/demo/query",function(rtn){
				console.log(rtn);
			})
		

		})
	</script>

</html>
